github.com/google/go-cmp/cmp.pathStep.typ (field)
15 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L382: step.typ = t.Field(i).Type
compare.go#L439: step := SliceIndex{&sliceIndex{pathStep: pathStep{typ: t.Elem()}, isSlice: isSlice}}
compare.go#L525: step := MapIndex{&mapIndex{pathStep: pathStep{typ: t.Elem()}}}
options.go#L324: step := Transform{&transform{pathStep{typ: tr.fnc.Type().Out(0)}, tr}}
path.go#L161: typ reflect.Type
path.go#L165: func (ps pathStep) Type() reflect.Type { return ps.typ }
path.go#L168: if ps.typ == nil {
path.go#L171: s := value.TypeString(ps.typ, false)
path.go#L195: func (sf StructField) Type() reflect.Type { return sf.typ }
path.go#L227: func (si SliceIndex) Type() reflect.Type { return si.typ }
path.go#L271: func (mi MapIndex) Type() reflect.Type { return mi.typ }
path.go#L284: func (in Indirect) Type() reflect.Type { return in.typ }
path.go#L294: func (ta TypeAssertion) Type() reflect.Type { return ta.typ }
path.go#L296: func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", value.TypeString(ta.typ, false)) }
path.go#L306: func (tf Transform) Type() reflect.Type { return tf.typ }